﻿#include "task_conf.h"
#include "task_info.h"

CTaskConfParser::CTaskConfParser(): m_conf(new TaskConf)
{
    
}
CTaskConfParser::~ CTaskConfParser()
{
    delete m_conf;
}
const TaskConf* CTaskConfParser::conf()
{
    return m_conf;
}

bool CTaskConfParser::Parser(XMLElement* root)
{
    m_conf->max_task_count = root->FirstChildElement("max_task_count")->IntText();
    return true;
}
